/**
 * Created by Administrator on 2016/8/11.
 */
/**
 * Created by Administrator on 2016/8/9.
 */
$(function(){
    var i = 0;
    $('#mainPart section p:first-child').on('click', function () {
            $(this).parent("section").children("p:not(:first-child)").css("display","block")
            $(this).children("img:last-child").css("display","none");
            $(this).children("img:first-child").attr("src","../images/aunclutionY.png");
    })
    $(".fold").on('click', function () {
        $(this).parents("section").children("p:not(:first-child)").css("display","none")
        $(this).parents("section").children("p:first-child").children("img:last-child").css("display","block");
        $(this).parents("section").children("p:first-child").children("img:first-child").attr("src","../images/aunclutionW.png");
    })
})